package com.raos.example.shardingjdbc2basic.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * Sharding-Jdbc分库分表实战之订单实体类
 *
 * @author raos
 * @emil 991207823@qq.com
 * @date 2021/8/22 21:02
 */
@Data
public class Order implements Serializable {

    private static final long serialVersionUID = 661434701950670670L;
    /**
     * 订单ID
     */
    private long orderId;
    /**
     * 用户ID
     */
    private int userId;
    /**
     * 地址ID
     */
    private long addressId;
    /**
     * 订单状态
     */
    private String status;
}
